package org.aziez.dbexport.model;

/**
 * This class represent a database server instance
 * 
 * @author ahmed.aziez
 *
 */
public class DBServer {
	private String m_name;
	private int num_port;
	
	public DBServer(){
		
	}
	
	/**
	 * @return Database server name
	 */
	public String getName(){
		return m_name;
	}
	

	/**
	 * @return Database server port number
	 */
	public int getPort(){
		return num_port;
	}
	
	
	/**
	 * Set the database server name
	 * @param servername Database server name
	 */
	public void setName(String servername){
		m_name = servername;
	}
	

	/**
	 * Set the database server port number 
	 * @param serverport Database server port number
	 */
	public void setPort(int serverport){
		num_port = serverport;
	}
}
